package com.hntxk.cqzd.common.service;




import com.hntxk.core.framework.model.BaseModel;
import com.hntxk.core.framework.service.IBaseService;
import com.hntxk.core.framework.service.IGenericService;
import com.hntxk.cqzd.common.model.FileModel;
import com.hntxk.cqzd.flup.entity.FlupFile;
import org.springframework.http.HttpRequest;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;


/**
 * @Description: 我的文件管理接口<br>
 * @Project: SP <br>
 * @date 2019/6/3 10:02 <br>
 * @author <a href="huangbiquan@hotmail.com">Huang.Biquan</a>
 */
public interface CommonFileService extends IGenericService {

   void upload(String sql, MultipartFile[] files, Long id,String sign) throws IOException;

   ResponseEntity<byte[]> getFile(String filePath, String fileName);

}
